package com.ywqf_api.enums;

public enum EstatePayAppEnum {
    PLEASE_CONTACT_MANAGER(1,"首次缴费请联系管理员"),
    DEL_SUCCESS(1000,"删除成功"),
    DEL_ERROR(2,"删除出错"),
    UPDATE_SUCCESS(1001,"更新成功"),
    UPDATE_ERROR(3,"更新失败"),
    INSERT_DISCOUNT_TYPE_ERROR(4,"添加重复"),
    INSERT_SUCCESS(1002,"新增成功"),
    INSERT_ERROR(5,"新增失败"),
    FIND_SUCCESS(1003,"查询成功"),
    FIND_ERROR(6,"查询出错");
    private int code;
    private String message;

    EstatePayAppEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
